Don't leak info_ptr.
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 27 Mar 2002 22:12:05 +0000 (22:12 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 27 Mar 2002 22:12:05 +0000 (22:12 +0000)
commitec35e8112aa2f8255e4ba1ccf7d77ad275b91a95
tree2b5e4725a82d00bd64a945a51635a117d52727d8
parentf70bd1e4658f17288f19dd609a38418224cebc97
Don't leak info_ptr.

* io-png.c (gdk_pixbuf__png_image_stop_load): Don't leak info_ptr.

* io-png.c (gdk_pixbuf__png_image_load): Get rid of unused
end_info. Also call png_read_end to check proper ending of the png
file and catch text chunks after the image data.
gdk-pixbuf/ChangeLog
gdk-pixbuf/io-png.c